<?php 
	$this->headTitle("..:: Administration ::..");
	
	//Add css file
	$this->headLink()
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/css/default.css')
	->appendStylesheet(PUBLIC_RESOURCE.'/skins/admin/css/style.css')					//style admin page
	//->offsetSetStylesheet(1,PUBLIC_RESOURCE.'/skins/admin/js/smoothmenu/mrk_smooth/ddsmoothmenu.css')	//smooth menu
	->offsetSetStylesheet(2,PUBLIC_RESOURCE.'/skins/admin/js/jquery-ui/css/ui-lightness/jquery-ui-1.10.3.custom.css')//jquery ui
	;
	
	//Add js file
	$this->headScript()->appendFile(PUBLIC_RESOURCE.'/skins/admin/js/jquery-2.0.3.min.js')			// jquery
	//->offsetSetFile(1,PUBLIC_RESOURCE.'/skins/admin/js/smoothmenu/mrk_smooth/ddsmoothmenu.js') 	// smooth menu
	->offsetSetFile(2,PUBLIC_RESOURCE.'/skins/admin/js/frmAdminForm.js')							// xử lí toolbar
	->offsetSetFile(3,PUBLIC_RESOURCE.'/skins/admin/js/ckeditor/ckeditor.js')						// ckeditor
	->offsetSetFile(4,PUBLIC_RESOURCE.'/skins/admin/js/ckfinder/ckfinder.js')						// ckeditor
	->offsetSetFile(5,PUBLIC_RESOURCE.'/skins/admin/js/jquery-ui/js/jquery-ui-1.10.3.custom.js')	// jquery ui
	;
?>

<!DOCTYPE HTML>
<html>   
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <?php echo $this->headTitle()?>
       <?php echo $this->headLink()?>
       <?php echo $this->headScript()?>
       <?php echo $this->headMeta();?>
        <script type="text/javascript">
			ddsmoothmenu.init({
				mainmenuid: "smoothmenu1", 		//menu DIV id
				orientation: 'h', 				//Horizontal or vertical menu: Set to "h" or "v"
				classname: 'ddsmoothmenu', 		//class added to menu's outer DIV
				customtheme: ["#26343F", "#57636B"],
				contentsource: "markup" 		//"markup" or ["container_id", "path_to_menu_file"]
			});
	</script>
    </head>
    <body>
        <!-- header -->
        <div id="wrapper-header">
            <?php echo $this->action('header','layout','admin',array('menubar'=>false))?>
        </div>
        <!-- end header-->
        
        <!-- body -->
        <div id="wrapper-selection">
            <div class="wrapper">		
				<!-- Flash Message -->				
					<?php echo $this->action('flashmessage','layout','admin')?>				
				<!-- End flash message -->
				
				<!-- Content -->
               	<div class="content">
					<?php echo $this->layout()->content;?>
					
				</div>
				
				<div class="clearb"></div>
				<!-- End Content -->
		
            </div>
           
        </div>
         <!-- end body -->
         
        <!-- start footer -->
        <div id="wrapper-footer">
            <?php echo $this->action('footer', 'layout','admin')?>
        </div>
       <!-- end footer -->
       
    </body>
    
</html>